<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title><?php echo isset($title) ? $title : 'Administration Site';?></title>
<script src="<?php echo base_url(); ?>media/js-global/jquery-1.10.2.min.js" type="text/javascript" language="javascript"></script>
<link href="<?php echo base_url(); ?>media/site/css/style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
body {
	background: url("media/admin/css/images/bgbody.gif") repeat-x scroll 0 0 #fce2ed !important;
}
.error {
	color: #f00;
	font-weight:bold; 
	margin-left: 25px;
}
.logout-alert {color:#fb23fd;font-weight:bold; margin-left: 25px;}
</style>
</head>
<body>
<div class="container">
     <div class="dev-login">
            <?php echo form_open('cmladministration',array('class'=>'form-horizontal form-validate','id'=>'frm-login'));?>
            <input type="hidden" name="txthddkey" value="81483" />
            <h4>Login to Chamroeun Administration Site</h4>
            <?php
			if ($this->session->flashdata('error')){ 
				echo "<p class='error'>";
				echo $this->session->flashdata('error');
				echo "</p>";
			}elseif($this->session->flashdata('logout-alert')){ 
				echo "<p class='logout-alert'>";
				echo $this->session->flashdata('logout-alert');
				echo "</p>";
			}
			?>
            <p><input type="text" placeholder="Username" value="" required="" name="username" /></p>
            <p><input type="password" placeholder="Password" required="" value="" name="password" /></p>
            <input type="submit" value="Login" id="btnsubmit" name="btnsubmit" class="clsbutton_new"/>
           <?php echo form_close(); ?>
     </div>
</div>
</body>
</html>